package com.ouc.service;

import com.ouc.entity.Frame;

import java.util.List;

/**
 * @Name: FrameService
 * @Description:
 * @Author: Mr.Tong
 */
public interface FrameService {
    public Boolean insertFrame(Frame frame);

    public Frame getFrameById(Integer id);

    public List<Frame> getAllFrame();

    public Frame getFrameByFrameCode(String frameCode);

    public Boolean deleteFrameById(Integer id);

    public Boolean deleteFrameByFrameCode(String frameCode);


    public Boolean frameExists(String frameCode);
}
